package adc.app.spec;

import java.util.List;
import java.util.Map;

public interface IBoBs<T extends IBo> {

    T create();

    List<T> list(Map<String, Object> filter, Integer firstIndex, Integer maxResultCount,
            Map<String, Boolean> order);
    
    Integer count(Map<String, Object> filter);

    T byId(final Long id);

    void delete(final T bo);

    void save(final T bo);
}
